added support for prev and next media buttons