add preference to set that whether download data at background or not