the application now remembers the settings by storing them in local storage