Hardware menu fix

Change so it depends on the value of "config_showNavigationBar"

Change-Id: Id78fd4a7df1a4c1bfd8ec721b25d8bf8d65e8574