Replace getActivityColor by StatsTable::getBackgroundColor

Change-Id: I9b30724a344048c85c2be311e242c1917f1b74f9