How to select the right menu