Made didSelectItem() tell CDV to retain callback
Fixed reference to tabBarItemSelected() callback function