use the update applications block Also, broadcast eventblock can be used When the closing parameter in the update applications block gets close to 100 (above 90) this means the app is about to be closed. Detect it and do stuff for closing the app.
fixed the glitch add me to oOS studio pls