Revert from History function added