Refactored

Added a success message after adding an item