Recents: register events listener, support leave action