Fixed broken --webui switch and menu activation