Diagnostic code: attempt to hide keyboard on return key