private void ProfileSettings_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (ProfileSettings.SelectedIndex == -1) { return; } ProfileSettings.SelectedIndex = -1; if (SettingsWindow == null) { SettingsWindow = App.Kernel.Get<Windows.Settings>(); } WindowManager.ShowWindow(SettingsWindow.Container); this.IsOpen = false; }