ange.value, selectedItemForChange.varType)
    }

    function updateItem(key, value, type) {
        let bodyJson = '{' +
            '"key":"' + key + '",' +
            '"value":"' + value + '",' +
            '"type":"' + type +
            '"}';

        let body = 'update=' + encodeURIComponent('')
            + '&' + 'data=' + encodeURIComponent(bodyJson);

        httpPost('shared-preferences', body, function () {
            hideChangeTableItemModal();
            hideAddTableItemModal();
         