 								let control = cell!.viewWithTag(1) as! UISegmentedControl
 								control.selectedSegmentIndex = 0
 							}
+							i = getCmdIdx(0xF,  cmdId: LuggageDataLog)
+							cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
+							if (cell != nil) {
+								let control = cell!.viewWithTag(1) as! UISegmentedControl
+								control.selectedSegmentIndex = 0
+							}
 							break
 						case MotionDataStream:
 							if sender.selectedSegmentIndex == 0 {

								sw.selectedSegmentIndex = 0
							}
							break
						case NEBLINA_COMMAND_FUSION_EULER_ANGLE_STREAM:
							nebdev!.streamQuaternion(false)
							nebdev!.streamEulerAngle(sender.selectedSegmentIndex == 1)

								control.selectedSegmentIndex = sender.selectedSegmentIndex
							}
							i = getCmdIdx(0xF,  cmdId: Heading)
							cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
							if (cell != nil) {
								let control = cell!.viewWithTag(1) as! UISegmentedControl
								control.selectedSegmentIndex = 0
							}
							i = getCmdIdx(0xF,  cmdId: LuggageDataLog)
							cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
							if (cell != nil) {
								let control = cell!.viewWithTag(1) as! UISegmentedControl
								control.selectedSegmentIndex = 0
							}
							break
						case LuggageDataLog:
							if sender.selectedSegmentIndex == 0 {
								nebdev!.disableStreaming()
								nebdev!.sessionRecord(false)
								break
							}
							else {
								nebdev!.sensorStreamAccelGyroData(true)
								nebdev!.sensorStreamMagData(true)
								nebdev!.sensorStreamPressureData(true)
								nebdev!.sensorStreamTemperatureData(true)
								nebdev!.sessionRecord(true)
								
							}
							
							
							var i = getCmdIdx(NEBLINA_SUBSYSTEM_FUSION,  cmdId: NEBLINA_COMMAND_FUSION_QUATERNION_STREAM)
							var cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
							
							
							i = getCmdIdx(0xF,  cmdId: Heading)
							cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
							if (cell != nil) {
								let control = cell!.viewWithTag(1) as! UISegmentedControl
								control.selectedSegmentIndex = 0
							}
							i = getCmdIdx(0xF,  cmdId: MotionDataStream)
							cell = cmdView.cellForRow( at: IndexPath(row: i, section: 0))
							if (cell != nil) {
								let control = cell!.viewWithTag(1) as! UISegmentedControl
