fix #4245: IllegalStateException with NFC

Setting the Ndef record creator in onCreate() is the recommended way to
do it. A null can also be returned if no message should be created.