Add preferences into views