start/stop activity with headset button

I did not manage to do a rebase master before submitting this PR..