[BF] Adding multiple indexed prefrence without flushing changes wasn't i...

Adding multiple indexed preferences without flushing, wasn't increment idx value.