Add possibility to disable a specific button

I have implemented a way to disable buttons. Maybe others will like to have this.