Thank you for bringing this to my attention I believe it has to do with it being coded while button is pressed and it should instead be when button is released.