Split RimEclipseView::updateVisibleGeometriesAndCellColors() into two methods, and make sure the visible geometries are recreated before updating the legends.