Enable property fields when adding a new property after selecting a central property

GCP-10191

Reviewer: Daniel Villafuerte
Remove trailing spaces, add curly braces in if else statements

GCP-10191

Reviewer: Daniel Villafuerte