Renamed mediaSession to media; added listener addMediaListener