[#XDS-207] Integration into Agility | optional injection of PrefsFactory