Fixed the persisting data from the browser when the user presses F5 key.