Disable progress dialog and enable progress spinner