hide advanced device options if unavaiable

Change-Id: I9688518c094c9aad8099669f14d752d3a37b28a2