Use the Undo Levels option to change the number of times you can revert to a previous state. For example, the default setting of 20 enables you to revert through your last 20 actions.