The selection-info-count at the left bottom of host or service info needs to be updated immediately after selection. Hence use the already defined ´count´ to update the selection info on click. Also, avoid refreshing the active columns.
onLayoutChange
ui.fixControls()
ui.initializeControls()