Few Bugs in Survey and Wrist Sensor code were fixed