Completed the history adapter