          loaded = self._load()
          if not loaded:
              return
  
          command = self._active_tab if current_tab else self._get_lone_task()
          if command is None:
              logger.error("Unable to determine task from the given file: '%s'", filename)
              return
          if command not in self._options:
              logger.error("No '%s' task in '%s'", command, self._filename)
 
</s> remove         self._add_to_recent(command)
 </s> add 
        command = self._active_tab if current_tab else self._stored_tab_name
        command = self._get_lone_task() if command is None else command
          loaded = self._load()
          if not loaded:
              return
  
        command = self._active_tab if current_tab else self._stored_tab_name
        command = self._get_lone_task() if command is None else command
          if command is None:
              logger.error("Unable to determine task from the given file: '%s'", filename)
              return
          if command not in self._options:
              logger.error("No '%s' task in '%s'", command, self._filename)
keep keep keep keep replace keep keep keep keep keep
 bugfix: lib.gui - Correctly handle tasks loaded from the file/recent menus 
lib/gui/project.py