public function editSettingsAction()
    {
        if ($this->pool->emergencyHandler->checkMaxCall() === true) {
            // Called too often, we might get into trouble here!
            return $this;
        }

        $this->pool->reset();

        // We will not check this for the cookie config, to avoid people locking
        // themselves out.
        $this->pool->emergencyHandler->setDisable(true);

        // Find caller.
        $caller = $this->callerFinder->findCaller('Cookie Configuration', array());
        $this->pool->chunks->addMetadata($caller);

        // Render it.
        $footer = $this->outputFooter($caller, true);
        $this->pool->chunks->detectEncoding($footer);

        $this->outputService
            ->addChunkString($this->pool->render->renderHeader('Edit local settings', $this->outputCssAndJs()))
            ->addChunkString($footer);
        $this->pool->emergencyHandler->setDisable(false);
        $this->outputService->finalize();

        return $this;
    }