Per team discussion, change flagType property name to type

Removed deprecated mw-ui-primary type

Change-Id: If74b14c003d433be6078cf178560c8a02bbca7bb