improved set pattern menu item