  if (selectedItemForChange.varType === FIELD_TYPE_BOOLEAN) {
            selectedItemForChange.value = booleanSelector.options[booleanSelector.selectedIndex].value
        } else if (selectedItemForChange.varType === FIELD_TYPE_SET_STRING) {
            selectedItemForChange.value = "[" + getElementById("changeModalValue").value + "]"
        } else {
            selectedItemForChange.value = getElementById("changeModalValue").value
        }

        updateItem(selectedItemForChange.key, selectedItemForCh