add item info in the localStorage