Fixed "Undo profile" after "Restart events"