Added text change detection to the textView