storing favourited using data()