Add ButtonPress event handler