Headphones play/pause on PC now works for me

I connected my headphones to Windows 10 via BT and am listening to Spotify. My play/pause button wasn’t working. However, after a double click on the play button to go back a song, now play/pause works as it should.