Updated sample to display heart rate data