redefine save method for PersonPreferences