moved runonuithread to asynctask