First attempt at adding buttons to change line graph