Moved availability check to viewWillAppear; Migrated initialisation code to work with SDK v2.0.0