The top icons in the side panel show the selected entities for the left and right mouse buttons.
Switch entities by clicking the buttons in the side panel. The entity for the left mouse button will be set to whatever you clicked on, and the entity for the right mouse button will be set to either dirt, bulldozer, or demolition, depending on whether you clicked on a terrain, transit, or zone button.