Added to store change in local storage