added persistence for favourites