Submenu with 3 buttons

  if (switchOneState != lastSwitchTwoState && switchTwoState == HIGH) {

Why are you comparing the current state of the switch one pin to the previous state of the switch two pin?