Added check for if attributs dictionary is nil before assign it to buttons. Updated attributes names to support iOS7. Added buttonsHeight property so can have custom buttons height