Cant stop code from being run after reset

Do you know -why- there's debounce?