@Override
    public void actionPerformed(ActionEvent e) {
        if (e.getSource() == gui.getPlay()){
            gui.getmLib().play();
        }
        if (e.getSource() == gui.getStop()){
            gui.getmLib().stopAll();
        }
        if (e.getSource() == gui.getSkip()){
            gui.getmLib().skip();
        }
        if (e.getSource() == gui.getLike()){
            gui.getmLib().getSelected().like();
            gui.updateInfo();
        }
        if (e.getSource() == gui.getShuffle()){
            gui.getmLib().setShuffle(gui.getShuffle().isSelected());
        }
        if (e.getSource() == gui.getScan()){
            gui.chooseFolder();
        }
        if (e.getSource() == gui.getRemove()){
            gui.getmLib().removeSelected();
        }
        if (e.getSource() == gui.getSort()){
            gui.getmLib().sortLib();
        }
    }