changing listener and temposervice for percentage calculation