Refine default data creation task.

- Refine logic to create default study materials.