@Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (requestCode == RequestCodes.IMAGE_CAPTURE && resultCode == Activity.RESULT_OK) {
     String sourceFragmentKey = data.getStringExtra("source");
     for (ProductGalleryPhotoFragment pf : getProductGalleryPhotoFragments()) {
       pf.refresh();
     }
   }
 }
 @Override
 protected void onStart() {
   super.onStart();
   getSpiceManager().removeAllDataFromCache();
   getSpiceManager()
       .execute(
           suggestProductNameRequest,
           "suggestProductName",
           DurationInMillis.ONE_MINUTE * 5,
           new SuggestProductNameRequestListener());
 }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_new_product);

    titles = getResources().getStringArray(R.array.new_product_pages);
    initFragments();
    suggestProductNameRequest = new SuggestProductNameRequest(product.BarCode);

    IntentFilter svcIntentFilter = new IntentFilter(Services.MOVE_TEMP_FILES);
    svcIntentFilter.addCategory(Services.STATUS_SUCCESS);
    svcIntentFilter.addCategory(Services.STATUS_FAILURE);

    moveTempFilesReceiver = new MoveTempFilesReceiver();
    LocalBroadcastManager.getInstance(this)
        .registerReceiver(moveTempFilesReceiver, svcIntentFilter);
  }