removed unused variables
textbox visibility
hide keyboard after submit