renamed internal methods with underscore prefix
add event listener to append menu items when view mode is changed to Report
refactor tests for ChartMenu