Alert view tutorial code form the book "iOS 7 Programming Cookbook"