Added listener to text