Saving user settings with localStorage