Fixed progress bar on restart not being in correct state.