adjust the sequence of starting application