Lock for getDifferences and start spinner only if needed