void btSave_Click(object sender, EventArgs e)
{
// get current settings and save to file
AvalonGUIConfig.checkOnStart = cbCheckOnStart.Checked;
AvalonGUIConfig.checkForUpdateAt = cbCheckForUpdateAt.Checked;
AvalonGUIConfig.checkInterval = comboCheckInterval.SelectedIndex;
AvalonGUIConfig.checkTime = timePicker.Value;
AvalonGUIConfig.nextUpdateCheck = AvalonGUIConfig.nextCheckAt.ToString();
AvalonGUIConfig.patchUtilityRunUnattended = cbRunUnattended.Checked;
AvalonGUIConfig.patchUtilityRestartMP = cbRestartMP.Checked;
settings.Save(settings.cXMLSectionUpdate);
this.Close();
}