QuizActivity.java - Added logging functionality.