When closing the main form because updates were found we now properly save all settings first