Store and restore page refresh time