You do already change the icon by javascript when the button is pressed. Just extend that function to play the sound.