Don't show Done button on iOS 7 - logic error in if statement