fix add to favorite bug

bug: when scan things in favorite, it will disappear