void MainWindow_Unloaded(object sender, RoutedEventArgs e) { configurations.SaveConfigurations(parser); }