Adding saving data url of canvas to localStorage