Now settings are stored as localstorage object, and kept saved when a user refreshes the page