public function getButtonLabel($label)
    {
        if ($label instanceof Closure) {
            $label = call_user_func($label, $this);
        } else {
            $label = Yii::t('hipanel', $label, ['count' => count($this->getSpoiledItems())]);
        }

        return $label;
    }