Fixed cordova keyboard plugin crashes.