settings layout, doing next delivery query