Getting data for Quiz in onBeforeRendering