2 buttons 4 functions help

 //editmode=true;
  buttonState = digitalRead(button2);

  // compare the buttonState to its previous state
  if (buttonState != lastButtonState) {
    // if the state has changed, increment the counter
    if (buttonState == HIGH) {
      // if the current state is HIGH then the button went from off to on:
      //GERRY MOD
      if (editmode)
        Serial.println("edit mode");
      else

        Serial.println("on");
      // Serial.print("number of button pushes: ");

    } else {
      // if the current state is LOW then the button went from on to off:
      Serial.println("off");
    }
    // Delay a little bit to avoid bouncing
    delay(50);
  }
  // save the current state as the last state, for next time through the loop
  lastButtonState = buttonState;

in this part of the sketch if i was to put in If (loopmode) as well as editmode
would it let you have a 3rd function on a button.
i have tried it but cant get it to work.

int savebutton = digitalRead(save);
 if (savebutton != lsave){
 if (savebutton == HIGH){
   if (editmode)

 Serial.println("editmode");
  
   else 
     if (Loopmode)

 Serial.println("Loopmode");

   
   
 else 
   
 Serial.println("normal");
 }else{
   Serial.println("off");
   
 }

 }   
//}
 



 lsave = savebutton;