The application is switched to the sleep mode