I'm having a issue with the check deposited items in a looting bag interface i can put items in the looting bag but when i go to say look whats in there it changes to a new interface but nothing shows and when i go to bank to deposit items there's only deposit looting bag not items in looting bag. Can anyone help me out here

RSInterface.java
[SPOIL]
Code:
public static void lootingBagAdd(TextDrawingArea[] tda) {
		RSInterface rsi = addTabInterface(37343);
		addSprite(23864, 0, "/Interfaces/Lootingbag/SPRITE");
		addText(36432, "Add items", tda, 2, 16750623, true, true);

		addHoverButton(36483, "/Interfaces/Lootingbag/CLOSE", 0, 128, 35, "Close", 0, 36484, 1);
		addHoveredButton(36484, "/Interfaces/Lootingbag/CLOSE", 1, 128, 35, 36485);
		rsi.totalChildren(32);

		int child = 0;

		rsi.child(child++, 23864, 7, 30);// bg
		rsi.child(child++, 36432, 90, 10);// title
		rsi.child(child++, 36483, 160, 9); // close button
		rsi.child(child++, 36484, 160, 9); // close hover

		/**
		 * Inventory
		 */
		final int START_X = 20;
		int x = START_X;
		int y = 35;
		final int X_DIFF = 38;
		final int Y_DIFF = 30;
		int id = 27342;

		for (int i = 0; i < 7; i++) {
			for (int j = 0; j < 4; j++) {
				addItem(id, new String[]{"Deposit 1", "Deposit 5", "Deposit 10", "Deposit All", "Deposit X"});
				rsi.child(child++, id, x, y);
				id++;
				System.out.println(child);
				x += X_DIFF;
			}

			x = START_X;
			y += Y_DIFF;

		}
		System.out.println("Total children " + child);
	}

	public static void lootingBag(TextDrawingArea[] tda) {
		RSInterface rsi = addTabInterface(37342);
		addSprite(23864, 0, "/Interfaces/Lootingbag/SPRITE");
		addText(46432, "Looting bag", tda, 2, 16750623, true, true);

		addHoverButton(36483, "/Interfaces/Lootingbag/CLOSE", 0, 128, 35, "Close", 0, 36484, 1);
		addHoveredButton(36484, "/Interfaces/Lootingbag/CLOSE", 1, 128, 35, 36485);
		addHoverText(36486, "Bank All","Bank all items", tda, 0, 0xff9040, false, true, 40);
		addText(36487, "Value: 0 coins", tda, 0, 0xFF9900, true, true);
		rsi.totalChildren(34);

		int child = 0;

		rsi.child(child++, 23864, 7, 25);// bg
		rsi.child(child++, 46432, 107, 7);// title
		rsi.child(child++, 36483, 160, 7); // close button
		rsi.child(child++, 36484, 160, 7); // close hover
		rsi.child(child++, 36486, 10, 10); // Bank All
		rsi.child(child++, 36487, 92, 250); // Total Value

		/**
		 * Inventory
		 */
		final int START_X = 20;
		int x = START_X;
		int y = 30;
		final int X_DIFF = 38;
		final int Y_DIFF = 30;
		int id = 47342;

		for (int i = 0; i < 7; i++) {
			for (int j = 0; j < 4; j++) {
				addItem(id, new String[]{"Remove 1", "Remove 5", "Remove 10", "Remove All", "Remove X"});
				rsi.child(child++, id, x, y);
				id++;
				System.out.println(child);
				x += X_DIFF;
			}

			x = START_X;
			y += Y_DIFF;

		}
	}
	public static void addItem(int childId, String[] options) {
		int interfaceId = 37342;

		RSInterface rsi = interfaceCache[childId] = new RSInterface();
		rsi.actions = new String[10];
		rsi.spritesX = new int[20];
		rsi.inv = new int[30];
		rsi.invStackSizes = new int[25];
		rsi.spritesY = new int[20];
		rsi.children = new int[0];
		rsi.childX = new int[0];
		rsi.childY = new int[0];
		
		for (int i = 0; i < options.length; i++) {
			if (options[i] == null) {
				continue;
			}
			rsi.actions[i] = options[i];
		}

		rsi.centerText = true;
		rsi.usableItemInterface = false;
		rsi.isInventoryInterface = false;
		rsi.invSpritePadX = 23;
		rsi.invSpritePadY = 22;
		rsi.height = 5;
		rsi.width = 6;
		rsi.parentID = interfaceId;
		rsi.id = childId;
		rsi.type = 2;
	}
	public static void addItem(int childId, String[] options, int interfaceId) {
		//int interfaceId = 37342;

		RSInterface rsi = interfaceCache[childId] = new RSInterface();
		rsi.actions = new String[10];
		rsi.spritesX = new int[20];
		rsi.inv = new int[30];
		rsi.invStackSizes = new int[25];
		rsi.spritesY = new int[20];
		rsi.children = new int[0];
		rsi.childX = new int[0];
		rsi.childY = new int[0];
		
		for (int i = 0; i < options.length; i++) {
			if (options[i] == null) {
				continue;
			}
			rsi.actions[i] = options[i];
		}

		rsi.centerText = true;
		rsi.usableItemInterface = false;
		rsi.isInventoryInterface = false;
		rsi.invSpritePadX = 23;
		rsi.invSpritePadY = 22;
		rsi.height = 5;
		rsi.width = 6;
		rsi.parentID = interfaceId;
		rsi.id = childId;
		rsi.type = 2;
	}
[/SPOIL]