Try this, It works for me. I have never tried to change the unit "color" but the time and score selection works. Hope this helps
titleParam1 = "Time:";
valuesParam1[] = {10000, 1, 300, 600, 900, 1200, 1500, 1800, 2700, 3600, 7200};
defValueParam1 = 1800;
textsParam1[] = {"Unlimited","1 Min", "5 min", "10 min", "15 min", "20 min", "25 min", "30 min", "45 min", "1 hour", "2 hours"};
titleParam2 = "Score to win:";
valuesParam2[] = {10000, 1, 5, 7, 10, 15, 20, 25, 30};
defValueParam2 = 5;
textsParam2[] = {"Unlimited", 1, 5, 7, 10, 15, 20, 25, 30};