#358 test fix
- ProgressDialogLoadingControl: added whether context is finishing
activity check to the showProgress method
- UploadActivity: moved some logic from onActivityResultUI to the
onActivityResult method to avoid situation when onActivityResultUI
executed after the activity is destroyed by system