Recommended · for some experience
EEVblog #961 - Monkey Debouncing
Why people recommend it
Dave Jones explains switch and relay contact bounce and the hardware and software ways to debounce it; recommended when microcontroller interrupts misfire on noisy inputs.
Watch for: RC debounce circuits
In their words
A really good explanation of electrical noise can be found here:
Mike on arduino.stackexchange.com, Jun 2024. CC BY-SA.
Here's a video from Dave of the EEV blog describing contact chattering and the methods for overcoming it from a signals processing standpoint.
Alex on electronics.stackexchange.com, Jan 2017. CC BY-SA.
Here is an in-depth video describing how to set-up contact debouncing, which again, I think is what you're after, rather than triggering the reset as you have on V3.
Jesse Rutherford on electronics.stackexchange.com, Oct 2018. CC BY-SA.