I'm having some trouble making a command menu item appear depressed. I see apps do this all the time. How is this done?