MenuBar refresh issue fixed