Add function focus() and resignFocus() to textview.