Correcting support for keypresses from the Android code.