modification in the tab activity and add the sensor module, working but still has some issues