use an icon button to toggle the selection mode (closes #41)