Added methods for setting button enabled state, opactiy and dimming