Fixed output.

Cleaned up the output results and hid the keyboard after a button is
pressed.