Moves to localStorage for persistence