Added a HashMap in the InsertActivity to keep the relation category name tp category ID in memory.