Changes the settings