public function setState($name, $value)
    {
        $this->_userData[$name] = $value;
        Session::get()->updateListItem(App::get()->shortName . $this->sessionKey, 'vars', $this->_userData, array('vars' => array(), 'rights' => array()));
        return $this;
    }