Fix settings not saving on ctrl-q on main menu