Fix profile.

Save profile and set enabled profile are fixed.