private PackageControllerTable<?, ?> getTable() {
     if (MainTabbedPane.getInstance().isDownloadView()) {
         return DownloadsTable.getInstance();
     } else if (MainTabbedPane.getInstance().isLinkgrabberView()) {
         return LinkGrabberTable.getInstance();
     }
     return null;
 }
    /**
     * Create a new instance of StartDownloadsAction. This is a singleton class. Access the only existing instance by using
     * {@link #getInstance()}.
     */
    public StartDownloadsAction() {

        setIconKey("media-playback-start");
        setName(_JDT._.StartDownloadsAction_createTooltip_());
        DownloadWatchDog.getInstance().getEventSender().addListener(this, true);
        DownloadWatchDog.getInstance().notifyCurrentState(this);
        CFG_GUI.START_BUTTON_ACTION_IN_LINKGRABBER_CONTEXT.getEventSender().addListener(this, true);
        GUIEventSender.getInstance().addListener(this, true);
        onGuiMainTabSwitch(null, MainTabbedPane.getInstance().getSelectedView());

        setAccelerator(KeyEvent.VK_S);

    }
 @Override
 public void onConfigValueModified(KeyHandler<Enum> keyHandler, Enum newValue) {
     onGuiMainTabSwitch(null, MainTabbedPane.getInstance().getSelectedView());
 }