Fix download button waiting if document has started but not completed downloading