Reset extension icon when app reconnects.

Previously, the error icon would persist even after the app reconnects. Now it switches back to the offline icon as soon as the extension + app reconnect.

Ran grunt test.