Use separate databases for each peer's index to allow concurrent modifications to peer indexes. Change launch mode for activities to be singleTask to fix some odd behavior.