Update onActivated only resetAlarm when greater than min

Only reset the alarm of the previous tab when there are more than the
minimum number of tabs in the window open.