Making Android not respond to connecting headphones
You can make this happen by going in poweramp settings->Headset/Bluetooth an uncheck 
Pause On Headset Disconnect and Resume on wired Headset and that should be it