Refactor add to list action