Fixed bug with crashing app after mapFragment onResume() by adding the map programmatically