Store position in localstore