Add text:selected event