Commit to database when upload/download task is done
Remove outdated database initiation operations