Changed from deprecated presentModalViewControllerAnimated to presentViewController:animated:completion
Fixed deprecated presentModalViewController and dismissModalViewController method calls