show download progress from database
code cleanup
use timer to refresh download progress