Fix bug: ACTIVITY_RESULT event doesn't attach activity instance