Remove use of deprecated class from BuildingSelectionEvent