display activity displays the text passed in textbox