Fixed problem with root controller not being found

http://stackoverflow.com/questions/7520971/applications-are-expected-to-
have-a-root-view-controller-at-the-end-of-applicati