Redesign

this Pullrequest provides a fix for the application chooser and minor refactoring stuff