levels: update menu dynamically depending on current plot