Updated the add function. Add button now directs you to the detailed view of the newly created item.