Update to use new preferences controller