theres a spring inside the switch part that you move to select on/off/door. It's probably got some dirt in there. Try spraying some WD40 or similar onto it (take the light off first to be safe)
(look inside the arm that you move, theres a metal bit inside that, which has a spring behind it, push that in and out tell it works smoothly)