Update extension icon after getting initial state
Update extension icon after getting initial state

When we get a full state message, update the extension icon after
processing the state.  This ensures that if we previously had bad
information (e.g. thought we were offline) we will have correct
information after finishing this.  This does not fully fix issues with
the icon (we will still show it incorrectly after restarting the
extension before the panel is opened), but it is a step in the right
direction.

Fixes #1717

uProxy/uproxy,chinarustin/uproxy,IveWong/uproxy,dhkong88/uproxy,qida/uproxy,roceys/uproxy,jpevarnek/uproxy,chinarustin/uproxy,roceys/uproxy,MinFu/uproxy,chinarustin/uproxy,itplanes/uproxy,IveWong/uproxy,jpevarnek/uproxy,qida/uproxy,itplanes/uproxy,MinFu/uproxy,itplanes/uproxy,jpevarnek/uproxy,MinFu/uproxy,uProxy/uproxy,qida/uproxy,dhkong88/uproxy,uProxy/uproxy,jpevarnek/uproxy,jpevarnek/uproxy,IveWong/uproxy,MinFu/uproxy,uProxy/uproxy,dhkong88/uproxy,dhkong88/uproxy,uProxy/uproxy,IveWong/uproxy,itplanes/uproxy,itplanes/uproxy,MinFu/uproxy,roceys/uproxy,roceys/uproxy,qida/uproxy,chinarustin/uproxy,chinarustin/uproxy,qida/uproxy,dhkong88/uproxy,roceys/uproxy