Arduino Uno ARDUINO_HR8833 shield and PS2 controller

The code could found here MecanumRobot-Arduino-Uno/uno-pca9685.zip at master · MoebiusTech/MecanumRobot-Arduino-Uno · GitHub

When I press the PS2 the motors start as normal. But when I release the button the motors keeps running even though the button is not pressed.

in serial viewer, when I press any button once it shows as if I pressed the button 4 times

Thanks