Fixed bug where tabbar buttons were not staying selected.