Removed unused durationPause function

The durationPause function was essentially replaced by togglePause.