Better timing

Better timing in updating activeness of navbar item