Added safer menu function: displayMenuOfValues