code: def replace(self, ):
          
          tfi = self.get_taskfileinfo_selection()
          if tfi:
              self.reftrack.replace(tfi)
docs: Replace the current reftrack
  
          :returns: None
          :rtype: None
          :raises: None