kcm: fix choosing the refresh rate

It always chose the last one, and not the highest one
2 jobs for !96 with work/fix-refreshrates in 2 minutes and 21 seconds (queued for 49 seconds)
latest merge request