Improve behavior of Android keyboard