adding promises to toggleNfc and activateRE0