choose preferencies functionality