The problem was in the following blocks if value was 0 then image was copied from assets and used to change original image otherwise if image was 1 no changes should be made. So when file copied block was used all images changed because it was set to change pictures