made preferences reload when coming back from pref. screen