private String getSnapshotFromPreferences(IApplication application, boolean deploymentSnapshot) {
   if (deploymentSnapshot) {
     return ExpressCorePreferences.INSTANCE.getDeploymentSnapshot(application);
   } else {
     return ExpressCorePreferences.INSTANCE.getFullSnapshot(application);
   }
 }
 private void storeSnapshotToPreferences(String filepath, boolean deploymentSnapshot) {
   if (deploymentSnapshot) {
     ExpressCorePreferences.INSTANCE.saveDeploymentSnapshot(getApplication(), filepath);
   } else {
     ExpressCorePreferences.INSTANCE.saveFullSnapshot(getApplication(), filepath);
   }
 }