Add missing calls to super class
Fix build in Xcode 6 by adding a default case to switch statement

* the constant UIUserInterfaceIdiomUnspecified is not known by iOS 7 so we use a default case to make this work under iOS 7 and 8