How to change page title on new preferences