refactored toggle switch setup, added action to disable pre_http_request args