[REFACTOR] moved UI event handler into the UI package

Change-Id: Ia00180422d3e5ad3fdccbc20aaad47806bc25a53
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/1388
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>