Add the visibility switch to the notify observer pattern. The two properties panels will switch based on what is selected.