Fixed bug in switching favourites