Just tap the screen to turn on and turn off the Lamp. When the timer turned off, the sleep mode of the iphone is turned On and the App will turned off automatically.