I have experienced (with the android-keyboard bug after update 1.7/1.8) that you can stop and restart apps to make them stop to behave buggy.
In this way you do not have to restart the whole phone. If restarting helps, consider restarting the app only. In Settings -> apps you can have a look which apps you installed (DOWNLOADED), which are running (RUNNING) , and which are installed (ALL) (These are all of them, also the google apps).
Go to the middle screen, and try to figure out which app is buggy (for example starting and stopping to run). Then go to the right screen (ALL) and find the app there. Click it. Now you see all the information of the app. Be sure that it actually is the app you are searching for, since the following is possibly dangerous!! Click on "Force Stop" and than "Clear cache" and "Clear data". This will close the app completely. Possibly corrupted data will be deleted. The bug will not be solved, but now the app can start anew and has "forgotten" about whatever caused the bug. Now restart the app.
This might be less painfull than completely restarting your phone, once you know how it works.
Please ONLY DO THIS IF YOU FULLY UNDERSTAND IT!! Since it is potentially dangerous.
If you have any questions, remarks or whatsoever please feel free to post them.
This worked for me with the android keyboard issue. I could close the Android (ASOP) keyboard, install the google apps, and than I had the google keyboard app, which works nicely.