move mediaclick logic into manager