Added check for if attributs dictionary is nil before assign it to butto...

...ns. Updated attributes names to support iOS7. Added buttonsHeight property so can have custom buttons height