error in last commit, now fixed: changes save on database for favourites