onResume no longer shows PIN dialog after first intent
readded intent action check and check for intents in oncreate
Merge pull request #23 from mdrijvers/master

onResume asking for PIN (thanks to @mdrijvers)