Fixed: button are always removed from the superview in layoutSubviews

Previously, the button of a CPButtonBar were always removed and readded in the method layoutSubviews.
Now we only remove the hidden button.
Merge pull request #2275 from Dogild/ButtonBarRemove

Fixed: button are always removed from the superview in layoutSubviews