Added cmdSampleMenuToggle.cpp