Adding support for displaying the current layout in the menubar