Fixed NullPointerException in getView of ContextualUndoAdapter