a lot of modification for handling UI updates when measurement
Merge branch 'master' of https://github.com/daoyuan14/MeasureApp