added functions for media keys.