refactor waypoint menu to XML resource