check if favorite already exists before adding