implement #47 Tabbar: add setActiveTab() function