fixed CAT-531

added try/catch to location of possible exceptions

added default case to switch statement
Merge pull request #1083 from Catrobat/CAT-531

[CAT-531] NullPointerException: LookFragment.onActivityCreated
cat-531 #fixed
Merge branch 'LiveWallpaper_Testsuit' of https://github.com/Catrobat/Catroid into LiveWallpaper_Testsuit