stop and reset Countdown, set variable “ButtonPressed” to False
You may want some visual cue for your user in order to let him know it has to press for some amount of time (a message, a bar filling, displaying the countdown value etc).
Regards,
Alex.
PS: as I made it while testing, I’m sharing the small sample with you