tabBar add and switch methods implemented