Hard coded the indexes for the application tabs.

`indexOfObject` was returning invalid values so the tab would never be selected. I'm not sure exactly why though, so maybe someone with more iOS-fu will have a better solution!

Fixes #1767
What about if you used a single method with a parameter rather than three very similar methods?

`- (void)showTab:(NSInteger)tab`