NXP-12487: format + fix copyright header
NXP-12746: fix mode management (and typo) in action widget types templates