Handlers for menu bar buttons added.