Added code for write NFC tag