Refactor render_checklist