added the method for actions on entering a geofence

changed dictionary to list in route