added on click and toast diagnostic for imagebutton