https://stackoverflow.com/questions/39694867/android-handle-headset-buttons-events-and-send-information-to-mainactivity