Added Cancel button to ProgressDialog. Check if SDCARD free necesary space is available