Prevent default action on toggle buttons