fix bug #180. The status bar is disconnected when reaching completion
status.