Implementation of favourites button