Improved saving startup settings