Added try catch to capture device.
Updated thumbnailview in measurementscreen to show live thumbnail