Patch to MainViewController.m to actually build on iOS after the 8.0 upgrade and the Xcode 6 upgrade