Fixed a bug that occurs after add(item)

add nextStableId=mIdMap.size(); to addAllStableId