 
     toggleFieldStates = (state)->
       for flag, field of fields when flag isnt 'global'
-        if state in ['off', 'never']
+        if state is 'off'
           field.formView.hide()
         else
           field.formView.show()

        cssClass     : "main-label" # +if flag isnt 'global' then 'indent' else ''

      field.current = user.getAt("emailFrequency.#{flag}")
      labels        = ['never', 'instant', 'daily']

      if flag is 'global'
        labels = ['on', 'off']
        field.current = if field.current is 'instant' then 'on' else 'off'

      field.formView.addSubView field.switch = new KDMultipleChoice
        cssClass      : 'dark'

        callback      : (state)->
          flag  = @getData()
          prefs = {}

          prefs[flag] = state
          fields[flag].loader.show()
