Added constructor to event button. Tested for correct output.