Only enable NetworkStateReceiver when adding a listener.  When clearing ...

This is a pull request for https://github.com/apptentive/apptentive-android/issues/84