refactored favourites fragment into activity