def next(self):
    global p2
    global p3
    if (self.btn.text == 'Start'):
        self.lbl_sec.start()
        self.btn.text = 'Next'
    else:
        p2 = get_num(self.pulse2.text)
        p3 = get_num(self.pulse3.text)
        self.manager.transition.direction = 'left'
        self.manager.current = '5'
def next(self):
    global p2
    global p3
    if (self.btn.text == 'Start'):
        self.lbl_sec.start()
        self.btn.text = 'Next'
    else:
        p2 = get_num(self.pulse2.text)
        p3 = get_num(self.pulse3.text)
        self.manager.transition.direction = 'left'
        self.manager.current = '5'