favorites delete function works