1.add the backend thread to listen whether the path has changed;2.use StringUtils to check String variable whether is valid;