typo in button actions

prevent default was missing its ()