implmeented tap-out clear-keyboard functionality for textfields