             # No need to sort the list, just insert at the right spot
             tasksList.splice oldIndex, 1
             tasksList.splice index, 0, task
+
+            # invalid cache
+            _invalidCache task
 
             @emit 'change'
 

            {cid, changes} = payload
            task = tasksListByCid[cid]

            for field, value of changes
                task[field] = value

            @emit 'change'


            # adds the task to the cid index
            _tasksByCid[rawTask.cid] = rawTask

            # invalid cache
            _invalidCache rawTask

            @emit 'change'

        handle ActionTypes.REMOVE_TASK, (task) ->
