Click handlers do not work dynamically

Click handlers don't work...