public void toggleButtons(){
	  this.globalViewButton.toggle();
	  
	  if (this.globalViewButton.toggle==1){		  
		  graph.inGlobalView = true;		 
	  }else {
		  graph.inGlobalView = false;		 
	  }	 
	  
	  this.editModeButton.toggle();
	  this.aggregateButton.toggle();
	  this.saveButton.toggle();
	  this.newLayoutButton.toggle();
	  
	  //Both global view and edit mode can't be selected at the same time
	  if (this.globalViewButton.clicked){
		  this.editModeButton.toggle = 0;
		  this.aggregateButton.toggle = 0;
	  }else if (this.editModeButton.clicked){
		  this.globalViewButton.toggle= 0;
		  this.aggregateButton.toggle = 0;		  
	  }else if (this.aggregateButton.clicked){
		  this.globalViewButton.toggle= 0;
		  this.editModeButton.toggle = 0;
	  }	  
  }