for GCP-7656
made some minor code cleanup to DefineCrossingSettingComponent