you will need to correctly fix the operation of the safety device of the tilt switch.
(not reverse the switch, which, If I understand what you did, you changed the switch from a normally open switch to a normally closed switch).
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.