historyItem is now save in DB, sold items not yet working.