storing favourited using data()
Created flash on the fly