Cleaned up refresh code.
Added a notification to notify the scanner to update itself
  after firing an XMP and after deploying a new resonator.