Refactor: To sort out function to show list item.