revoke callbacks when switching scene