Pomdoro Clock counting down two numbers?

Hey guys I’m working on my pomdoro clock with jQuery. I have almost finished but when my timer is paused and then played after the initial start it starts to count down two values in the seconds area.

This is my countDown function:

function countDown(m,s) { 
  runTime = setInterval(function() {
    if(isStarted) {
    if (m == 0 && s == 0) {
        stopTimer();
        if (loop == 0) {
            timeLeft = break_interval_m;
            loop += 1;
            $('#timer-label').text('Break');
        } else {
            timeLeft = ses_interval_m;
            loop -= 1;
            $('#timer-label').text('Session');
        }
        alarm.play();
        countDown(timeLeft,0);
    } else if (s != 0) {
        if (s <= 10){
            s -= 1;
            timeLeft = m + ':0' + s;
        } else {
            s -= 1;
            timeLeft = m + ':' + s;
        }
    } else if (s == 0) {
        s = 59;
        m -= 1;
        timeLeft = m + ':' + s;
    }
    
        $('#time-left').text(timeLeft);  
    }
  }, 1000);
} 

and this is my start_stop click function:

$('#start_stop').click(function() {
    start_stop_counter++
    if (Number.isInteger(start_stop_counter/2)){
      isStarted = false;
      pauseButton();
 
    }
    else {
      isStarted = true; 
      playButton(); 
      countDown(ses_interval_m, ses_interval_s)
    }
  })

The code seems to be decrementing two values at once. What am I missing?
Here is the full code

Yeah that’s what I had it originally but the problem I found if I do that is whenever I pause the timer and play it again the timer will reset because the interval cleared. The code now was my attempt to pause the interval while stopped and resume it when the play button is pressed again. Is there a way to pause and start the timer when I clear the interval?

Okay I fixed the pause play determination. stopTimer() just executes the clearInterval() on my timer so when I added it to the if/else statement it reset the timer to the initial time. I added the boolean isStarted to the setInterval() function to pause it. Is that bad?

Okay I fixed the issue. The problem was that I declared ses_interval_m and ses_interval_s. I used these variables in my countDown function but did not declare them as the new minute and seconds at the end of the function. Thanks for the help Randell!