Fix to not display free text label if free text input is not displayed

Change-Id: I084e0584f1dcb5f1fa9afb53540e07991d7e837e