Control database and dieta selection