Implementing Menu editing and history