Fix the ID of the setShowLegend action