better handling of progressdialog
fix for force close while activity is paused when inside of asynctask