The application is only restarted automatically when the airplanemode is enabled.