Adding an adapter for xtype progressbar