Added functionality for menu bars