Fixed iOS 6 deprecated issues

REPLACED

presentModalViewController:nav animated:YES

WITH

presentViewController:nav animated:YES completion:nil

AND

dismissModalViewControllerAnimated:YES

WITH

dismissViewControllerAnimated:YES completion:nil