gray out functions in the menu when they are not available