         @getListView().addItemView newSshKey, 0
 
 
-  updateHelpLinkVisibility: (keys) ->
+  updateHelpLink: (keys) ->
 
-    if keys.length is 0
-      @sshKeyHelpLink.hide()
-    else
-      @sshKeyHelpLink.show()
+    @sshKeyHelpLink?.destroy()
+    if keys.length > 0
+      @sshKeyHelpLink = new KDCustomHTMLView
+        cssClass : 'ssh-key-help'
+        partial  : """
+          <a href="http://learn.koding.com/delete-ssh-key" target="_blank">How to delete ssh key from your VM</a>
+        """
+      @getListView().addSubView @sshKeyHelpLink
 
 
   isMachineActive: (machine) ->


      @getListView().addSubView @header, '', yes

      @sshKeyHelpLink = new KDCustomHTMLView
        cssClass : 'ssh-key-help'
        partial  : """
          <a href="http://learn.koding.com/delete-ssh-key" target="_blank">How to delete ssh key from your VM</a>
        """
      @getListView().addSubView @sshKeyHelpLink
      @updateHelpLinkVisibility keys


  addNewKey: ->

      @newItem = no
      newKeys = @getListItems().map (item)-> item.getData()
      unless newKeys.length is 0 then @customItem?.destroy()
      @updateHelpLink newKeys
      remote.api.JUser.setSSHKeys newKeys, -> kd.log "Saved keys."

    @getListView().on "RemoveItem", (item)=>
