sdl app: added interaction with ui system