Better refreshing of popover layout.