@Override
    public void mouseClicked(MouseEvent e) 
    {
        Component clicked = e.getComponent();
        if (clicked.isEnabled())
        {
            if (clicked.equals(this.start))
            {
                if (loadInstrument())
                {
                    this.railBoard.getController().setIsLearningMode(false);
                    this.start.setEnabled(false);
                    this.stop.setEnabled(true);
                }
            }
            else if (clicked.equals(this.stop))
            {
                if (unloadInstrument())
                {
                    this.start.setEnabled(true);
                    this.stop.setEnabled(false);
                    this.railBoard.clear();
                }
            }
        }
    }