Fix location controller when update device token.