adding textview delegate for change cursor