Updated KeyboardStateController for iOS 8 compatibility
[FIX] UIViewController topViewController excluding UIAlertController by default