Run some code if the stop button is clicked | ScratchStats