Commented the code in MapViewController and organized for readability, app runs without crashing now.