@Override
        public void onReceive(final Context context, final Intent intent) {
            final boolean wasConnected = isConnected;
            isConnected = Network.isConnected();
            if (isConnected && !wasConnected) {
                startLoginIssueHandler();
            }
        }
@return the menu item id which should be selected
main/src/main/java/cgeo/geocaching/activity/AbstractNavigationBarActivity.java