adding local storage setting