Merge pull request #84 from DenisKnoepfle/master

Refactor dialogs / fix all Checkstyle and FindBug issues
Fix minor usability bugs

Elements for add dialog are sorted only once in the beginning now to
avoid trouble with indices later.

Fixed focus control bugs when opening and closing dialogs.

Change-Id: Ibf0b9afd440c2beebb0775b85171f00f4913f7be
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>