Initial work to add event listeners to the toolbar icons