Added the tabBarController and the event part