Fix progress bar display when returning back to activity while download
is running.

Decouple UpdatePreference from UpdatesSettings in the process.
Also fix UI handling if MD5 sum didn't match.

Change-Id: Ib50486e3722fdf335b78e683d09154e955dc7c23
Merge "Fix progress bar display when returning back to activity while download is running." into cm-10.1-staging