Confused by timing on Countdown Timer

I’ve been trying to work around not having a different timer variable for each level. I came up with this simple way of using functions to re-launch the countdown on a new “level”. And that seemed to work. https://makecode.com/_AH50vq5y4Ysy

In sharing it with some of my students, we’ve run into some issues, however. I’m linking a sample here: https://makecode.com/_JFATzLXtm6HJ
Resetting the countdown timer doesn’t keep the Game Over screen from appearing, which it didn’t do in my simpler code. Another set of eyes on this would help!