handling posting to ui thread in ProgressReceiver