@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   Option option;
   switch (resultCode) {
     case Constants.ITEM:
       option = (Option) data.getSerializableExtra("option");
       itemnum.setText(option.getName());
       break;
     case Constants.LOCATIONSCODE:
       option = (Option) data.getSerializableExtra("option");
       location.setText(option.getName());
       break;
   }
 }
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   Option option;
   switch (resultCode) {
     case Constants.LABORCRAFTRATE:
       option = (Option) data.getSerializableExtra("option");
       laborcode.setText(option.getName());
       craft.setText(option.getDescription());
       break;
     case Constants.CRAFTRATE:
       option = (Option) data.getSerializableExtra("option");
       craft.setText(option.getName());
       break;
   }
 }