@Override
    public void reactPressed(MouseEvent e) {
        if (isPressed)
            return;
        super.reactPressed(e);
        if (StateMachine.getState() == ProgramState.SONG_PLAYING) {
            StateMachine.setState(ProgramState.EDITING);
            theStaff.stopSong();
        } else if (StateMachine.getState() == ProgramState.ARR_PLAYING) {
            StateMachine.setState(ProgramState.ARR_EDITING);
            theStaff.stopSong();
        }
    }