How to choose which player is controlled by headphone button?
If you're rooted, use a tool like MyAndroidTools to disable the broadcast receiver for android.intent.action.MEDIA_BUTTON for unneeded apps that respond.