Add tap recognizer to resign first responder