Updated to correct menu selection sequence

Netbeans 7.x has no Preferences menu option. This update corrects the menu selection sequence.