Onclicked works differently

I noticed with the print string that when I press my button (on a touch screen) the 2 actions “play” and “pause” are displayed simultaneously, which in this example therefore cancels the play action, however I can’t find how to fix this, I tried replacing Onclicked with Onpressed, but no difference