Move the init process to the last part of the didFinishLaunchingWithOptions

Caused orientation issues on iOS 5.x. Should be after "[window addSubview:]" call.