'Persistently store the watch state.'

def state_set(self, state):

    if (state not in self.WATCH_STATES):
        raise ValueError((_('Invalid    watch    state    %s') % state))
    self.state = state
    self.store()
