I can confirm that this is much more cleaner solution and it fixes the problems with navigation buttons and view mode switcher as well.
Only one thing: update_view_method is no longer needed as this is done already in update_top_menu, even the compiler points this out, we should remove it.
I can confirm that this is much more cleaner solution and it fixes the problems with navigation buttons and view mode switcher as well.
Only one thing: update_view_method is no longer needed as this is done already in update_top_menu, even the compiler points this out, we should remove it.