def back(self):
    self.manager.transition.direction = 'right'
    self.manager.current = 'main'
    global p1
    global p2
    global p3
def back(self):
    self.manager.transition.direction = 'right'
    self.manager.current = 'main'
    global p1
    global p2
    global p3