Changing app instantiation order