@maisaraFarahat my bad, this is needed, I didn't notice the existence of the OnClick method in the XML.