added tap handler and detection of tap to display text once tapped