Added onclick event in button's htmloptions