private void updateClock() {
        if (getSkinnable().isSecondsMode()) {
            for (int y = 0 ; y < 10 ; y++) {
                for (int x = 0 ; x < 11 ; x++) {
                    if (secondLeft.dots.containsKey(y) || secondRight.dots.containsKey(y)) {
                        if (secondLeft.dots.containsKey(y) && secondLeft.dots.get(y).contains(x)) {
                            matrix[x][y].getStyleClass().setAll("text-on", getSkinnable().getColor().STYLE_CLASS);
                        } else if (secondRight.dots.containsKey(y) && secondRight.dots.get(y).contains(x)) {
                            matrix[x][y].getStyleClass().setAll("text-on", getSkinnable().getColor().STYLE_CLASS);
                        } else {
                            matrix[x][y].getStyleClass().setAll("text-off", getSkinnable().getColor().STYLE_CLASS);
                        }
                    } else {
                        matrix[x][y].getStyleClass().setAll("text-off", getSkinnable().getColor().STYLE_CLASS);
                    }
                }
            }
        } else {
            for (int y = 0 ; y < 10 ; y++) {
                for (int x = 0 ; x < 11 ; x++) {
                    matrix[x][y].getStyleClass().setAll("text-off", getSkinnable().getColor().STYLE_CLASS);
                }
            }

            for (QlockWord word : getSkinnable().getQlock().getTime(minute, hour)) {
                for (int col = word.getStart() ; col <= word.getStop() ; col++) {
                    matrix[col][word.getRow()].getStyleClass().setAll("text-on", getSkinnable().getColor().STYLE_CLASS);
                }
            }
        }
        int min = minute > 60 ? minute - 60 : (minute < 0 ? minute + 60 : minute);

        if (min %5 == 0) {
            p1.getStyleClass().setAll("dot-off", getSkinnable().getColor().STYLE_CLASS);
            p2.getStyleClass().setAll("dot-off", getSkinnable().getColor().STYLE_CLASS);
            p3.getStyleClass().setAll("dot-off", getSkinnable().getColor().STYLE_CLASS);
            p4.getStyleClass().setAll("dot-off", getSkinnable().getColor().STYLE_CLASS);
        } else if (min %10 == 1 || min %10 == 6) {
            p1.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
        } else if (min %10 == 2 || min %10 == 7) {
            p1.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p2.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
        } else if (min %10 == 3 || min %10 == 8) {
            p1.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p2.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p3.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
        } else if (min %10 == 4 || min %10 == 9) {
            p1.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p2.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p3.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
            p4.getStyleClass().setAll("dot-on", getSkinnable().getColor().STYLE_CLASS);
        }
    }