Complete ver 1
Consolidating code using the event context
Executing some of the same code in each of the buttons' handlers