       log xhr.errors
     
     
-  '#sharingList change': (el, ev) ->
-    sharingLevel = el.val()
-    @displaySharingLevel sharingLevel
+  '#sharingList change': (element) ->
+    sharingLevel = element.val()
+    @displayDefaultSharingLevel defaultSharingLevel
     @updateSettingsModel {'user[default_sharing_level]': parseInt sharingLevel}
 
-  '#landingList change': (el, ev) ->
-    landingPage = el.val()
-    @displayLandingPage landingPage
-    @updateSettingsModel {'user[default_landing_page]': landingPage}   
+  '#default-landing-ist change': (element) ->
+    defaultLandingPage = element.val()
+    @displayDefaultLandingPage defaultLandingPage
+    @updateSettingsModel {'user[default_landing_page]': defaultLandingPage}   
 
   '.cancel click': ->
     $('.changePasswordForm').hide()


    $('.sharing-icon').css "background","url(/images/icons/#{background}) no-repeat center transparent"

  displayLandingPage: (landingPage) ->
    log('running displayLandingPage with: ' + landingPage)
    #TODO: after SASS refactor, replace with class
    switch landingPage
      when 'stream' then background = 'stream-24-hover.png'
      when 'home' then background = 'home-24-hover.png'
      when 'today' then background = 'home-24-hover.png'

    @setupAjaxBinding()
    
  setupDefaults: ->
    defaultSharingLevel = $('#settingsPanel .default-sharingPage').data 'id'
    defaultLandingPage = $('#settingsPanel .default-landingPage').data 'id'
    $('#default-sharing-list').val(defaultSharingLevel)
    $('#default-landingPage-list').val(defaultLandingPage)
    @displayDefaultSharingLevel defaultSharingLevel
    @displayDefaultLandingPage defaultLandingPage
    
  showPanel: ->    
    $('#settingsPanel').show()

  displayDefaultSharingLevel: (defaultSharingLevel) ->
    #TODO: after SASS refactor, replace with class
    defaultSharingLevel = parseInt defaultSharingLevel
    switch defaultSharingLevel
      when 500 then background = 'sharing-24-hover.png'
      when 200 then background = 'friend-24.png'
      when 150 then background = 'friend-24-follower.png'
