A quick way to undo that last dodgy eraser stroke is using control + Z on your keyboard. this keeps your current tool active.