Fixed layout for iOS 7
Fixing a bug for iOS 7 about not to save image in a button.