saving bridge ID to localstorage