code: private void removeBlockFromAddedBlocks(long blockId) {
      Iterator<Entry<String, List<Long>>> iterator = mAddedBlocks.entrySet().iterator();
      while (iterator.hasNext()) {
        Entry<String, List<Long>> entry = iterator.next();
        List<Long> blockList = entry.getValue();
        if (blockList.contains(blockId)) {
          blockList.remove(blockId);
          if (blockList.isEmpty()) {
            iterator.remove();
          }
          // exit the loop when already find and remove block id from mAddedBlocks
          break;
        }
      }
    }
docs: Removes the block from the added blocks map, if it exists.
  
  @param blockId the block to remove