Now tracking time a tab is open correctly