private async void Grid_Loaded(object sender, RoutedEventArgs e) { var configCreator = new ConfigCreator(); Log("Will save Nimbus config file"); await SaveConfigurationToFile(configCreator.GetNimbusConfiguration(), "Nimbus"); Log("Save successful"); }