'Apply persistent settings'

def apply_state(self, state):

    result = RemoteActionDialog.apply_state(self, state)
    tags = bool(state.get(u'tags', False))
    self.tags_checkbox.setChecked(tags)
    prune = bool(state.get(u'prune', False))
    self.prune_checkbox.setChecked(prune)
    return result
