Refactoring veiws in quiz.