fix(cockpit): refresh view on selection in a proper way in cockpit

related to CAM-1864