     midiNoteToSend = STOP_MIDI_NOTE;
     bars = 0;
     changeMode(NORMAL_MODE);
+    return;
   }
 
   if (playButton.isJustReleased()) {

const byte STOP_MIDI_NOTE = 0;
const byte REPEAT_MIDI_NOTE = CONTROL_OFFSET;
const byte SEND_CONFIGURATION = CONTROL_OFFSET + 1;

const byte INVALID_MIDI_NOTE = 254;
byte midiNoteToSend = INVALID_MIDI_NOTE;

    playButton.turnLedOff();
  }

  if (stopButton.isJustPressed()) {
    stopButton.turnLedOn();
  }

  if (stopButton.isJustReleased()) {
    if (midiNoteToSend == INVALID_MIDI_NOTE) {
      midiNoteSendStart = 0;
      midiNoteToSend = STOP_CLIPS;
    }
    stopButton.turnLedOff();
  }

  sendMidiNote();
}

