added NPE guard for mAdapter

for issue #48 to avoid NPE on touch