Question

Why does the lamp stay on when I turn off the alarm with the lever?

Answer

The lamp stays on to give you the opportunity to get out of bed without switching on another lamp.