change menu variable visibility