Fixed bug when adding the first favorite