Made a debounce algorithm that should actually debounce the button!