fixed crash occurs if barButtonItem is nil
updated podspec
Merge branch 'hotfix/care-empty-item'