Add data saving into localStorage