fix that dynamic update would not work when user dont click allow or deny getLocation