Stop a void function when another one is running

You're right, I'm working on it. I will need some time to edit the sketch and post it... Thanks and excuse me fo the mess..