Changed main view into TabBarView