Also added the save and restore perspective handling in the sampel app

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