When listening to music on iTunes on my MacBook Air running OS 10.9, I am able to double-click the center headphone button to change track.
I am wondering if it is possible to replicate this behavior to when I am listening to music in e. g. Spotify.