adds clear button to the interface and connects to outlet and action