private void SetAllowed(bool allowed)
        {
            SelectedItem.Allowed = allowed;
            SelectedItem.Apply();
            var service = (IConfigurationService)GetService(typeof(IConfigurationService));

            service.ServerManager.CommitChanges();
            OnSettingsSaved();
        }