add undo functionality to blackout