Adding flash messages when items are added or deleted