Added capability to work in background and update location on movement