MainActivity update for average values