Okay, perfectly understandable.
Here, right now, I'd suggest putting a routine that loops around every second to actively check the modification (with the same 'function' before the exit)... but that's an absurdly exaggerated solution for a triviality
Have a nice day.