private String format(long minutes, long seconds, long milliseconds) {
        String minutesInString = "" + minutes;
        String secondsInString = "" + seconds;
        String millisecondsInString = "" + milliseconds;

        if (minutes < 10) {
            minutesInString = "0" + minutes;
        }

        if (seconds < 10) {
            secondsInString = "0" + seconds;
        }

        if (milliseconds > 99) {
            millisecondsInString = millisecondsInString.substring(0, 2);
        } else if (milliseconds < 10) {
            millisecondsInString = "0" + milliseconds;
        }

        return minutesInString + ":" + secondsInString + ":" + millisecondsInString;
    }