Wouldn't it make more sense to put this logic inside the `changeCurrentTime` function?