Renamed alertViewClicked to leaveGameSelected in the custom NavigationViewController as well as added some helpful comments.