Updated scope of menu variable.