I have a button that I move from one Panel to another when I switch orientation. After I make this move the button no longer responds to touches. Here is some code:

Code:
orientationChangeHandler: function(panel,orientation,width,height) {
		
		var bb = Ext.getCmp('bottom-box');
		var mb = Ext.getCmp('mid-box');
		if (orientation == 'portrait') {
			
			//All
			if(mb.items.contains(this.learn))
				mb.remove(this.learn);
			bb.removeAll();			
			bb.add(new Ext.Spacer());
			bb.add(this.learn);
			bb.add(new Ext.Spacer());
			
			this.removeCls('play-landscape');
			this.addCls('play-portrait');
			
				
			if(Ext.is.iPhone) {
				this.removeCls('iphone-play-landscape');
				this.addCls('iphone-play-portrait');	
			}
			
			this.doLayout();	
		}
		else {
			this.addCls('play-landscape');
			this.removeCls('play-portrait');
			
			bb.removeAll();
			mb.add(this.learn);
			
			if(Ext.is.iPhone) {
				this.removeCls('iphone-play-portrait');	
				this.addCls('iphone-play-landscape');				
			}			
			
		}
		
		this.doLayout();
		
		
	}