Refactored code - changed name of second view controller to ItemDetailViewController and changed function names in delegate protocol