Add connected flag to aid status feedback on popup page