Changed mapView to instance variable instead of local variable