Pipe doesn't work on home page


I have a custom pipe that working fine in all pages, except of HomePage.
This pipe works based on a variable that could be changed in my Settings page.
When navigate from home to settings and modify that value, everything works fine with the pipe even in current page(settings), but when I click back to HomePage, pipe seems not working. If I refresh this page manually in Chrome, every thing works fine and pipe seems to working correct.
I tried to re-render the page but couldn’t be successful, and its not a good idea because there is a list in the page.
I tried many things including using the pipe in html, or in .ts file but the result is the same.
Any ideas?


Actually this worked for me:
I replaced
thanks to this post:

it removes all previous navigations, but it is OK in my case.