Click event to change the text