          rcParams["keymap.home"] = [k for k in rcParams["keymap.home"] if k != "r"]
  
      def should_toggle_mask(self) -> bool:
          """ Check whether the mask should be toggled and return the value. If ``True`` is returned
          then resets :attr:`_toggle_mask` back to ``False``
  
          Returns
          -------
          bool
              ``True`` if the mask should be toggled otherwise ``False``. """
 
</s> remove         returned then resets :attr:`_refresh` back to ``False``
 </s> add         returned then resets the refresh trigger back to ``False`` </s> remove                 self._toggle_mask = False
 </s> add                 self._triggers["toggle_mask"] = False </s> remove             retval = self._toggle_mask
 </s> add             retval = self._triggers["toggle_mask"] </s> remove                 self._refresh = False
 </s> add                 self._triggers["refresh"] = False </s> remove             retval = self._refresh
 </s> add             retval = self._triggers["refresh"]
        then resets mask toggle back to ``False``
          rcParams["keymap.home"] = [k for k in rcParams["keymap.home"] if k != "r"]
  
      def should_toggle_mask(self) -> bool:
          """ Check whether the mask should be toggled and return the value. If ``True`` is returned
        then resets mask toggle back to ``False``
  
          Returns
          -------
          bool
              ``True`` if the mask should be toggled otherwise ``False``. """
keep keep keep keep replace keep keep keep keep keep
 bugfix: Update preview screen in GUI 
scripts/train.py