added onClick methods to activity_main.xml