Add favorite class, store to db