def listen(self, callback):
if not callback:
callback = self.callback
GPIO.add_event_detect(self.button_pin,
GPIO.FALLING,
callback=callback,
bouncetime=500)