#202 fixed loading of endpoints from localstorage