added learning mode for quiz