Update for iOS 8 keyboard handling