Add activity type handlers to nfc-demo.