added new RR measure and save bpm RR in a txt file