Made onTabsClicked static to fix broken tests for the NavigationBar.
Made onTabsClicked static to fix broken tests for the NavigationBar.