private void editProduct(Product selectedProduct) {
    Intent intentEditProduct = new Intent(getApplicationContext(), EditProduct.class);
    Bundle b = new Bundle();
    b.putString("CurrentProductBarcode", selectedProduct.getBarCode());
    intentEditProduct.putExtras(b);

    startActivityForResult(intentEditProduct, INTENT_RESULT_EDIT);
  }
  private void showProduct(Product p) {
    Intent intentShowProduct = new Intent(getApplicationContext(), ShowProduct.class);
    Bundle b = new Bundle();
    b.putString("CurrentProductBarcode", p.getBarCode());
    intentShowProduct.putExtras(b);

    startActivityForResult(intentShowProduct, INTENT_RESULT_SHOW);
  }