Add UI and touch events.