How can I make something different by pressing the same button again?

Hello. I am making a radio application and I have a question about buttons. There is a play button, the music plays when you press the play button. While the music is playing, it changes the name of the button and says stop. I want the music to stop when I press the button again when the text stop appears. How can I do that? I use taifun player for this. I couldn't see a block to make a presentation by pressing the same button.

See btnStart in