frequency-counter now sets back if the stop-button is clicked