Configurable momentary button