I checked gallery and video apps also found they set mozNfc.onpeerready to null when they don't want to share the file in the other modes, but do you think we can just set the function once and only share the file in particular mode, like MODE_PLAYER? so that we don't have to reassign the function from null to handlePeerConnectivity, or from handlePeerConnectivity to null.