added new functionality for permanent location
added minimum time itarval (1min) and minimum distance (100m)