prepopulating preference input fields implemented