private void ResetAndClose(MainWindow window)
 {
     configs.LoadAll();
     window.Close();
     ViewModelLocator.Cleanup();
 }
 private void SaveAndClose(MainWindow window)
 {
     configs.SaveAllChanges();
     window.Close();
     ViewModelLocator.Cleanup();
 }