Store stats in localStorage