updateHeading method
Updates the heading text and re-renders.
Has no effect once the section isFinished; the completion message (successMessage or failedMessage) still takes precedence at that point, exactly as it did with the heading set at construction time.
Implementation
void updateHeading(final String newHeading) {
if (_finished) return;
_heading = newHeading;
_render();
}