             fields[@getData()].loader.hide()
             if err
               @fallBackToOldState()
-              new KDNotificationView
-                duration : 2000
-                title    : 'Failed to change state'
+              KD.notify_ 'Failed to change state'
 
         , flag
 


    globalValue = if user.getAt("emailFrequency.global") is on then 'ON' else 'OFF'

    turnedOffHint = new KDView
      partial : """
      <cite>
        Email notifications are turned off. You won't receive any emails about anything.
      </cite>
      """
      cssClass: "no-item-found #{if globalValue is 'ON' then 'hidden'}"

    @addSubView turnedOffHint

    @getDelegate().addSubView global = new KDMultipleChoice
      cssClass      : "dark in-account-header"
      defaultValue  : globalValue
      callback      : (state)=>


      field.current = user.getAt("emailFrequency.#{flag}")

      field.formView.addSubView field.switch = new KodingSwitch
        cssClass      : 'dark'
        defaultValue  : if field.current is on then 'ON' else 'OFF'
        callback      : (state)->
