         @undelete_task(@store.get('current_task_id'))
 
     move_task_to_top: =>
+        @set_task(@store.get('current_task_id'), {position: @store.get_positions()[0] - 1})
 
     move_task_to_bottom: =>
+        @set_task(@store.get('current_task_id'), {position: @store.get_positions().slice(-1)[0] + 1})
 
     time_travel: =>
         @redux.getProjectActions(@project_id).open_file

        @setState
            local_task_state : local.set(obj.task_id, x)

    set_local_view_state: (key, value) =>
        # Set local state related to what we see/search for/etc.
        local = @store.get('local_view_state')
        @setState
            local_view_state : local.set(key, immutable.fromJS(value))
        @_update_visible()

    save: =>

            current_task_id : current_task_id
            counts          : c

    set_local_task_state: (task_id, obj) =>
        # Set local state related to a specific task -- this is NOT sync'd between clients
        local = @store.get('local_task_state')
        obj.task_id = task_id
        x = local.get(obj.task_id)
        if not x?
            x = immutable.fromJS(obj)
