GPS manage function done.