changing app oninit order