added asynctask and progressDialog for rotated stamp