timer now runs only for active tabs