Fixed a wrong SQL statement bug #6120


Made the choice of submenu a setting