Fix a bug when recording, the TrackDetailActivity is not displaying the correct menu items.
Hide "Sensor state" menu when no sensor is selected.