Sounds like you have a bad door switch causing the problem. But to answer your question on adjustment, with the door open just start the screws, but dont tighten all the way. Next, close the door then tighten the screws all the way....This is your adjustment.
__________________
|