code: def _button_autosave_clicked(self, checked):
          
          if checked:
              # get the path from the user
              path = _spinmob.dialogs.save(filters=self.file_type)
  
              # abort if necessary
              if not path:
                  self.button_autosave.set_checked(False)
                  return
  
              # otherwise, save the info!
              self._autosave_directory, filename = _os.path.split(path)
              self._label_path.set_text(filename)
  
          self.save_gui_settings()
docs: Called whenever the button is clicked.