Fixed crash when starting in airplane mode