This creates a new action that can be used to toggle an individual flag in a Settings key which is of a flags type.
A new Action.