Are both really needed? 

newTabId could be activeTabId