Implemented favourites write and read