Just press green flag and then hit the stop button. It's really not that hard, so you can copy the code if you want, just give me credit please.
This will also be used in later projects.