[Demonstration 1]

[Buggy Method]
@Override
protected void updateItem(Pair<Integer, Task> item, boolean empty) {
    super.updateItem(item, empty);
    if (empty) {
        this.setGraphic(null);
    } else {
        int index = item.getKey();
        Task task = item.getValue();
        // Grey out completed tasks
        if (task.isCompleted()) {
            this.getStyleClass().add("completed");
        }
        // Take care of priority
        if (task.getPriority() != null) {
            this.getStyleClass().add("priority--" + task.getPriority().name().toLowerCase());
        }
        this._indexLabel.setText(Integer.toString(index));
        this._nameLabel.setText(task.getTaskName());
        //set animation for newly added task
        if (this._lastCommand.getInstruction() == Command.Instruction.ADD && item.getKey() == this._newTaskIndex) {
            setHighlightAnimation();
        }
        // Optional date time to support floating tasks
        this._dateLabel.setText(_df.getPairDateDisplay(task.getStartTime(), task.getEndTime()));
        this.setGraphic(this._container);
    }
}

[Buggy Hunk]
if(this._lastCommand.getInstruction() == Command.Instruction.ADD && item.getKey() == this._newTaskIndex) {

[Patch]
if(this._lastCommand.getInstruction() == Command.Instruction.ADD && item.getKey() == (this._newTaskIndex +1)) {

[Demonstration 2]

[Buggy Method]
@SuppressWarnings("unused")
@Subscribe
public void onWordListLoaded(Word.ListLoadedEvent event) {
    mAdapter.replaceWith(event.getData());
}

[Buggy Hunk]
mAdapter.replaceWith(event.getData());

[Patch]
adapter.replaceWith(event.getData());

[Demonstration 3]

[Buggy Method]
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    this.getPresenter().setView(this);
    //Get the list presentation type
    int presentationType = Integer.parseInt(sharedPreferences.getString(presentationTypeKey, "0"));
    //Set options for list
    this.listView.changeViewMode(WhatWatchList.ViewMode.getFromInt(presentationType));
    this.listView.setListener(this);
    this.listView.getMultiView().setListener(this);
    this.listView.getMultiView().setListener(this);
    this.listView.getMultiView().setEmptyConfigurator(this);
    this.listView.getMultiView().refreshView();
    if (savedInstanceState == null) {
        getPresenter().initialize();
    }
}

[Buggy Hunk]
this.getPresenter().setView(this);

[Patch]
this.setPresenterView();