Implementing tabs.onActivated event
Finished feature 56597998/tabs-onActivate.