added search prefrence and display and change functionality