Update cached object in setSelectionStyles