Add UI refresh after finish a task successfully.
clean comments
add timer when app is in background.