extract summary of activity display to its own function
extract summary of activity display to its own function

Rather than keeping our function for displaying activity defined in a
lambda expression, just store it as a regular function. Also change
emptyActivity to "resetActivitySummary".

Signed-off-by: Jacob Keller <74ec1f46a68d238888726a00aa611ba6343172e2@gmail.com>

rdancer/cbc-kitten-scientists,oliversalzburg/cbc-kitten-scientists,oliversalzburg/cbc-kitten-scientists,cameroncondry/cbc-kitten-scientists,oliversalzburg/cbc-kitten-scientists