Understanding the registry

Adding this.registry.events.off('changedata', this.updateData, this); to the leave() function of the main and error scene and additionally a this.events.on('shutdown', this.leave, this); to the launched scenes seems to do the trick.