public void updateDB(SFSExtension extension)
	{
		if (itemsToAdd.size() > 0)
		{
			for (InventoryItem item : itemsToAdd)
				ItemDBHandler.addInventoryItem(extension, item);
		}
		if (itemsToUpdate.size() > 0)
			ItemDBHandler.updateInventoryItems(extension, new ArrayList<InventoryItem>(itemsToUpdate));
		if (itemsToRemove.size() > 0)
			ItemDBHandler.removeInventoryItems(extension, new ArrayList<InventoryItem>(itemsToRemove));
	}