Fixed issue #92

This update solve the undo action after actions that does not have an
undo variable.