Added events listener to menu bar

menu bar can now update the content panel