Added object_hash usage to addItem. Now one instance is only added once and later on replaced