Move away from the deprecated chrome.tabs.getSelected function