have set a progressdialog in schedulactivity