HTML page title is not set correctly except on setShortBreak()


function setWork() {
    if (playing == false) {
        startingMinutes = document.getElementById("workInput").value;
        (startingMinutes < 10)? document.querySelector("#minutes").innerHTML = '0' + startingMinutes  :  document.querySelector("#minutes").innerHTML = startingMinutes;
        document.querySelector("#seconds").innerHTML = '00';
        (startingMinutes < 10)? document.querySelector("#title").innerHTML = '0' + startingMinutes + ':' + '00'  :  document.querySelector("#title").innerHTML = startingMinutes;
    } else {
        return;
    }
}


function setShortBreak() {
    if (playing == false) {
        startingMinutes = document.getElementById("shortBreakInput").value;
        (startingMinutes < 10)? document.querySelector("#minutes").innerHTML = '0' + startingMinutes  :  document.querySelector("#minutes").innerHTML = startingMinutes;
        document.querySelector("#seconds").innerHTML = '00';
        (startingMinutes < 10)? document.querySelector("#title").innerHTML = '0' + startingMinutes + ':' + '00'  :  document.querySelector("#title").innerHTML = startingMinutes;
    } else {
        return;
    }
}


function setLongBreak() {
    if (playing == false) {
        startingMinutes = document.getElementById("longBreakInput").value;
        (startingMinutes < 10)? document.querySelector("#minutes").innerHTML = '0' + startingMinutes  :  document.querySelector("#minutes").innerHTML = startingMinutes;
        document.querySelector("#seconds").innerHTML = '00';
        (startingMinutes < 10)? document.querySelector("#title").innerHTML = '0' + startingMinutes + ':' + '00'  :  document.querySelector("#title").innerHTML = startingMinutes;
    } else {
        return;
    }
}

With each function I set the page title of the website to the current timer but if i run the function setWork() or setLongBreak instead of 25:00 it is only 25