Reimplemented doing custom work in textFieldShouldBeginEditing.