Makes getAllLocation refresh every 5 sec