modify RecentsFragment init and deinit