Each call site of the `getHeaderView()` method needed to do a null check and then it would call `setProgress()`. This has been replaced with two methods `setProgress()` and `clearProgress()` to make it a bit less repetative and harder to accidentally get a NPE in the future by invoking `getHeaderView()` incorrectly.