Example of text listener and text change.