     store.set('position', @_position)
 
   _positionWindow: (position) ->
-    unless position?
-      position = @_position
+    position = @_position unless position?
 
     @_position = position
     $(@$peteshow).css(left: position.x, top: position.y)

    }

  setSession: (id) ->
    $(@$tools).find("[data-session=#{id}]").prop('checked', true).change()

  hideSaveSession: =>
    $(@$saveSession).hide()


    @open() if (e.keyCode == 192)

    action  = $("[data-key='#{code}']")
    visible = $(@$peteshow).is('.open')

    action.click() if (action.length > 0 and visible)
