Fixed a bug that Locate and Copy buttons doesn't work.