Store the settings in local storage.