Added deleteFavourites function (untested)