Fixed active profile not updating