Remove preference library completely