save options with localStorage