Instantiated selectedTab to fix secondary crash