Feature/legend show only used modes