Properly restart the app