added stop downloading function

also badge number now responds to the currently active downloads