ooser.selectedIndex = selectedIndex.toString();
        }, function (status, statusText, responseText) {
            failedConnection(status, statusText, responseText);
        });
    }

    function creteDefaultSharedDropdownItem() {
        let label = document.createElement("option");
        label.className = "dropdown-content-item";
        label.value = SHARED_NOT_CHOSEN_VALUE;
        label.innerHTML = "Not chosen";
        label.disabled = true;
        sharedPrefsChooser.appendChild(label);
    }
