Fix for issue #107 and #51

Commented the hiding of keyboard for fixing issue #51.
For #107 
Android 2.3 and above has a bug in BufferedReader. Reader throws IOException while reading line if a EOF is reached.
Now checking whether a ready can be done before actually reading the line.