fix problems with volume buttons handler