Fix a bug inside setSelectedIndex: method of RDVTabBarController.