Polished the writer a bit. Now writes NDEF messages pretty stably.
Perhaps change background/activity/show a better prompt when writeMode
is set to true.