@Override
    protected void reactPressed(MouseEvent event) {
        ProgramState curr = StateMachine.getState();
        if (curr != ProgramState.ARR_EDITING && curr != ProgramState.ARR_PLAYING) {
            if (isPressed) {
                isPressed = false;
                releaseImage();
                StateMachine.resetLoopPressed();
            } else {
                isPressed = true;
                pressImage();
                StateMachine.setLoopPressed();
            }
        }
    }