Add debug log and make isBackupDone always be true once the callback is back.