Remove unused parameter from call to filteredTabs
Extract resetSelectedTab in TabSwitcher