fix to update ellapsed time as soon as stop recording button is pressed.