metomi/rose#546: refactor button menu