shutdown Nuxeo context on activity destroy
use private prefs and make nuxeo config use it