Fix add favorite bug