Interaction logic for PreferencesWindow.xaml
Inheritance: System.Windows.Window, IPreferencesView, INotifyPropertyChanged
 public void OpenPreferencesWindow(Preferences preferences)
 {
     var preferencesWindow = new PreferencesWindow(User, preferences);
     preferencesWindow.Show();
     Close();
 }
 private void PreferencesButtonClick(object sender, RoutedEventArgs e)
 {
     var preferencesWindow = new PreferencesWindow(User, Preferences);
     preferencesWindow.Show();
     Close();
 }