Added search by enter and fixed the refresh table issue