added tap gesture to end editing on the keyboard