bug fix: stop recording thread when "back" is pressed in RecordActivity