Because of the bouncing nature of buttons, creating programs that work with my arduino tend to be unstable. This circuit helps remove the bouncing effects that buttons have. It can be improved by adding a Schmitt trigger creating a perfect square signal. But they it's not available in this app.