Using local storage to remember time spent.