UNO R4 WiFi button press freaks out

I said twice previously that if i disconnect the switch or remove the debounce circuit the problem still persist. Also i found the circuit in another post, Debouncing capacitor where everyone said that this is fine.