Refect the touch activity detecting server route.

First use last connected server ip and port to detecting server. Trying to scan server only if last stored server infos not work.
This design improve the experience.
Refect the DefectWorkingThread.run method to use isServer(...).

Let code more compact.
Refect isServer(...), make it more efficient.
Make the toast show time more shot when local wifi ip is found.