HAL-259: Move code to update widget to SecurityFramework