download_lib added refresh var and refresh button