added device verification to issue 166, added tests for issue 169
fix mobile device flag
Merge pull request #170 from mimmi20/issue-169

Fixes #169