Fixed crash related to progress display

BS-647648104: Invalid cross-thread access when both indeterminate
progress and custom status text are shown.