Simple answer:
Apply for visa when you are supposed to at the earliest chance they allow you, and shift to where you need to be within a month if that is required.

Couldn't be clearer. Why do folk complicate things?