add settings modal and save pub/sub keys in local storage