Added custom listener to detect letters.