KAA-280: Add check of need_resync flag for the profile extensions