Log displyaing codes were moved to AddItem()