          notebook: :class:`lib.gui.command.CommandNotebook`
              The main command notebook for the Faceswap GUI
          """
          logger.debug("Setting commane notebook: %s", notebook)
          self._gui_objects["command_notebook"] = notebook
          self.project.set_modified_callback()
  
      def set_active_tab_by_name(self, name):
          """ Sets the :attr:`command_notebook` or :attr:`tools_notebook` to active based on given
          name.
 
</s> remove     def set_active_tab_by_name(self, name):
 </s> add     def set_active_tab_by_name(self, name: str) -> None: </s> remove     def set_command_notebook(self, notebook):
 </s> add     def set_command_notebook(self, notebook: "CommandNotebook") -> None: </s> remove         self._gui_objects["default_options"] = default
 </s> add         self._gui_objects.default_options = default </s> remove     def command_notebook(self):
        """ :class:`lib.gui.command.CommandNoteboook`: The main Faceswap Command Notebook. """
        return self._gui_objects["command_notebook"]
 </s> add     def command_notebook(self) -> Optional["CommandNotebook"]:
        """ :class:`lib.gui.command.CommandNotebook`: The main Faceswap Command Notebook. """
        return self._gui_objects.command_notebook </s> remove         return self._gui_objects["status_bar"]
 </s> add         return self._gui_objects.status_bar
        self._gui_objects.command_notebook = notebook
          notebook: :class:`lib.gui.command.CommandNotebook`
              The main command notebook for the Faceswap GUI
          """
          logger.debug("Setting commane notebook: %s", notebook)
        self._gui_objects.command_notebook = notebook
          self.project.set_modified_callback()
  
      def set_active_tab_by_name(self, name):
          """ Sets the :attr:`command_notebook` or :attr:`tools_notebook` to active based on given
          name.
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py