Fixed ECG implementation. Changed measuring device to return a single measurement after clicking on the button.