MENWIZ: yet another character lcd menu wizard library

Okay, Now its running fine and i can enter into submenu "MEASURE SUBMENU" as i am using only 4 buttons (CONFIRM, ESCAPE, UP and DOWN) so i am unable to change the Variable parameters. I think the LEFT and RIGHT buttons are intended to do the same. As i have the six button but two buttons are not implemented so unable but soon i will update the code of all six buttons and will let you tell.
The menu by the way is working very good and i really like the collapsing feature. It will save a lot of space on the screen and organizing the program.
Keep in mind i am using custom function for controlling the six keys keypad that is driven by one Analogue pin of Arduino.
Brilliant:)
Whats coming up next:)
Now how to store an integer value in EEPROM? you have given loadvar and savevar functions but can you define how we put the integer value (2 bytes) in EEPROM address say 0 and 1.

void savevar(){
  menu.writeEeprom();
  }
  
void loadvar(){
  menu.readEeprom();
  }

Regards