I\'m building a website with navigation on the header. I\'m using context API for managing the navigation state. It all works fine but when I go back it does not update the