private void OnSaveAndExitCommand()
{
foreach (var option in this.AvailableOptionsModels)
{
try
{
option.SaveData();
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
}
}
this.configurationHelper.SyncSettings();
this.OnRequestClose(this, "Exit");
}