Fix menu automatic updating