I added an print string to the end of execution and the text of the print string is displayed when i click on the button.