diff --git a/js/app/views/VisuUI.js b/js/app/views/VisuUI.js
index e3af96b..fd4e620 100644
--- a/js/app/views/VisuUI.js
+++ b/js/app/views/VisuUI.js
@@ -27,11 +27,6 @@ Ext.define('amdaUI.VisuUI', {
 		this.loadObject();
 	},
 		 
-	updateCount : function() 
-	{
-  		 	
- 		this.formPanel.getForm().findField('nbIntervals').setValue(this.object.get('nbIntervals'));
-	},
 	
 	reset : function() {
 								 
@@ -376,7 +371,9 @@ Ext.define('amdaUI.VisuUI', {
 						
 					},{   
 						type: 'button',
-						text: 'Reset'
+						text: 'Reset',
+						scope : this,
+						handler: this.reset
 					
 					}
 					]
--
libgit2 0.21.2