UE4-21 UNDO in realtime

Do you have any idea on why it is not working because, I tried the same way as yours. I am still not able to figure out the problem.