public void onRestoreInstanceState(Bundle savedInstanceState) {
   // Always call the superclass so it can restore the view hierarchy
   super.onRestoreInstanceState(savedInstanceState);
   diceSet1.restoreInstanceState(savedInstanceState, "1");
   diceSet2.restoreInstanceState(savedInstanceState, "2");
   setVerbose(savedInstanceState.getBoolean("verbosity"));
 }
 /**
  * We only save the "source" data items. e.g. the dice and target counts. All other values such as
  * probabilities and distribution curves are recalculated.
  */
 @Override
 public void onSaveInstanceState(Bundle savedInstanceState) {
   super.onSaveInstanceState(savedInstanceState);
   diceSet1.saveInstanceState(savedInstanceState, "1");
   diceSet2.saveInstanceState(savedInstanceState, "2");
   savedInstanceState.putBoolean("verbosity", getVerbose());
 }
 @Override
 public void onClick(View v) {
   destination.copyFrom(source);
 }
 @Override
 public void rollAll() {
   myCurrentAttempts = 0;
   myCurrentSelection.clear();
   super.rollAll();
 }