move logic to dedicated hook use quizId from context, not from settings add ErrorBoundaryFallback component