Having trouble with conditional hide and show menu options