Add setting to enable or disable navigation bar

Change-Id: Ia2eecd48cbc6f219b30eb157964cf4ca47f714c2