public static function resetView (ModeBasedUrlProvider $urlProvider)
    {
        $redirectHeader = 'Location: ' . $urlProvider->getModeUrl(self::MODE_DEFAULT);
        header($redirectHeader);
        exit;
    }