variable localstore itemname

i add a parameter to define the itemname in the localstore