Enabled the tab bar to change between views