Changed code to use df_activity and not make a bunch of new data.frames for each new plot.