Merge pull request #35 from rahul2308/master

fixes issue #28
Merge pull request #36 from rahul2308/master

FIxes variable button length
Fixes issue no 37
Merge pull request #38 from rahul2308/patch_37

Fixes issue no 37