Added possibility to Collapse or Expand the Tree, which shows the
preferences

Change-Id: I9e48bc4b6c9504988505a0ce75fa01867fe40b9c
Signed-off-by: Simon Scholz <simon.scholz@vogella.com>