public function afterAction($action, $result)
    {
        if (Yii::$app instanceof WebApplication && !in_array($action->id, ['import', 'run', 'update', 'level-up'], true)) {
            Activity::add();
        }
        return parent::afterAction($action, $result);
    }