/**
  * Upon being resumed we can retrieve the current state. This allows us to update the state if it
  * was changed at any time while paused.
  */
 @Override
 protected void onResume() {
   this.setSavedReport();
   getSharedText();
   super.onResume();
 }