Changed the behavior of the add-in to take selected items rather than just inbox items.