Undo working on display

undo function working. had to override the action performed in
autolistener to call the enable/disable buttons within the thread