Refactor print-list-item