Added handling for toggling preferencetrace in the view

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