Wait for visibility to change before update menu.