Export heart rate data
add nullcheck and get value as int
Merge pull request #12 from nebmo/export

Export heart rate data