Consolidate list item actions into macro