added some code to handle volume and play/pause io via pushbutton and rotary encoder