added volume control functionality for buttons and keys