def instantiate(self, **kwargs):
    super(EndActivity, self).instantiate(**kwargs)
    self.start()
    self.finish()
def instantiate(self, **kwargs):
    super(EndActivity, self).instantiate(**kwargs)
    self.start()
    self.finish()