Set the text of a UISearchBar if a keyboard character can't be found.

This seems to be related to #263. We manually set the text in a
UITextField and a UITextView, so this commit includes UISearchBar as a
view whose text can be maually set if a keyboard character can't be
found.