Add toggle Properties function