Keep toggle buttons pushed when functions stops flashing, but is still running

Fixes issue 116.