code: public void updateFilter(String filter) {
      if (isInitialized) {
        LynxConfig lynxConfig = lynx.getConfig();
        lynxConfig.setFilter(filter);
        lynx.setConfig(lynxConfig);
        clearView();
        restartLynx();
      }
    }
docs: Updates the filter used to know which Trace objects we have to show in the UI.
  
  @param filter the filter to use