[ADD] Added a cancel button.
[ADD] AppDelegate now responds to textDidEndEditing.