Fix account settings not saving properly