Revert changes in map and textarea