add null check when clearing listItemData

When creating listview and quickly press android back button will, sometimes, cause crash