Added saving defaults to local storage
Start of local storage