public function backButton(string $title = null, $url = null, array $options = []): string
    {
        $options = Hash::merge([
            'icon' => 'arrow-left',
            'escape' => false,
        ], $options);

        if (!$title) {
            $title = '<span class="button-text">' . __d('ck_tools', 'Back') . '</span>';
        }

        $here = $this->getRequestedAction();
        if ($this->request->getSession()->check('back_action.' . $here)) {
            $url = $this->request->getSession()->read('back_action.' . $here);
        }
        if (empty($url)) {
            $url = [
                'action' => 'index',
            ];
        }

        return $this->button($title, $url, $options);
    }