line 691-692 should happen inside  textViewDidEndEditing: method