Avoid showing the progress bar when done() is called without prior start()
Fix condition on done().