Fix rootViewController by using appDelegate.window instead of keyWindow.

#78 seems to cause many crashes when app uses other UIWindows 
e.g. SVProgressHUD, custom-UIAlertView, etc,
since `keyWindow` does not have to be app's main window.

I fixed it by using appDelegate.window instead.