Metronome fix, if statement