Changed semantics enableRetryButton to enableRetry.
Removed some debug lines.