Added Lever and Door toggling logic