Code supplement for article: http://www.webdevd.com/titanium-apps-with-android-action-bar-tabgroups-and-menu-items/