fix panicAction bug in application,improves location service