save profile name as preference when applying