replace radio buttons with a popup menu
write error handling
merged nfc peer
peer write
UI refresh