modified the xml in order to detect click events