Updated for also supporting quiz active status with pojo classes