fixed the current location bug in record location. fixed the bug when
you dismiss the record dialog window while it was recording.