Passing the CalendarPanel reference  when buildMenu() is overridden
Added an example to show different menus depending on the calendarPanel reference passed.