Everyspring magnetic door switch