Add Class mainFlow or setMedia to every Media and PopcornEvent