MOBILE-2272 quiz: Convert sync function to async/await
MOBILE-2272 quiz: Convert sync function to async/await

reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,moodlehq/moodlemobile2,reskit/moodlemobile,moodlehq/moodlemobile2,reskit/moodlemobile,moodlehq/moodlemobile2,moodlehq/moodlemobile2,moodlehq/moodlemobile2,moodlehq/moodlemobile2,reskit/moodlemobile