added click behavior to button
Lecture code