linked data to BarGraph and removed singleton from GraphAdapter to make it easier to update BarGraph in the onResume method of GraphActivity