I can open the project with 5.4
"Normally" when one presses a button you do not process it
until it is released. And you debounce it, both becoming active
and releasing. Once released then action is taken, like test
PWM8running flag to see if it should be started or stopped.