Support resignFirstResponder.
Update sample app to show resignFirstResponder.