Add download functionality using URL.createObjectURL