Patch the events in Application