Resolve some devices wont support setProperty problem
Merge pull request #167 from mlin6436/master