Created events for the touching of the ui buttons.