Handling revert button - restore position