I feel confused with these answer. I think if you file a I-140 based on NIW, it should be OK when you transfer even though it is still pending.