How can I adjust the below code so that after "loop" button is pressed, and then "change data" button is pressed, I can see the loop print changed data -