Moved media player handling to specific activies