changed how the app starts