Start/Stop button behavior for framework.