kcm: fix choosing the refresh rate

It always chose the last one, and not the highest one
2 jobs for master in 1 minute and 54 seconds (queued for 1 second)