Persisting options in localStorage.