fixing onKeyListener not working on soft keyboard.