public void addLoop(int loopNum) {
		//Making the button
		ImageButton loopImage = new ImageButton(parent, "Loop " + loopNum,
				50 + (loopNum - 1) * 120, screenHeight - 32, 100, 25, 1) {
			
			@Override
			public void onMousePress(int x, int y) {
				//Opens loop menu if not open already
				if (!loopMenuOpen) {
					loopMenu(sndM.getLoop(getNumber() - 1), getNumber() - 1);
				}
			}
		};
		
		//Set number for later and add to screenObjects
		loopImage.setNumber(loopNum);
		
		//Added for loop deletion
		sndM.getLoop(loopNum - 1).setLoopButton(loopImage);
		
		
		screenObjects.add(loopImage);

	}