       iconOnly  : yes
       iconClass : "plus"
       callback  : =>
-        @getListView().addNewKey @
+        @addItem {key: '', title: ''}, 0
+        @getListView().items.first.swapSwappable()
 
 class AccountSshKeyList extends KDListView
   constructor:(options,data)->

      @deleteItem()

  deleteItem:->
    {controller} = @getDelegate()
    controller.removeItem @
    controller.emit "UpdatedItems"

  saveItem:->
    {controller} = @getDelegate()
    @data =
      key   : @form.keyTextarea.getValue()
      title : @form.titleInput.getValue()
      
    if @data.key and @data.title
      @info.$('span.title').text @data.title
      @info.$('span.key').text "#{@data().key.substr(0,45)} . . . #{@data().key.substr(-25)}"
      @swappable.swapViews()
      controller.emit "UpdatedItems"
    else
      new KDNotificationView
        title : "Key shouldn't be empty."

      itemClass  : AccountSshKeyListItem
    ,options
    super options,data

class AccountSshKeyForm extends KDFormView
  viewAppended:->
