saving the settings