reinit the app