fixed bug when applying plugin changes, modified plugin submenus