Revert "Add Detection for Beam in onCreate"

This reverts commit 9f04cadc1c134aad801ccd592939cab934255150.
Check if type is null to prevent NPE

This fixes an app crash if the Activity was called by an Android Beam
event.
Merge pull request #220 from d-sko/nfc_fix

Alternative fix for #215