Fixed the starting and stopping of the time tracker when navigating to the url