Refactoring Tabs to use state for selectedIndex and focus