tab activated handler was modified, if  tab switched and plugin stopped then emit to content event 'pluginStopped'