Added button disable function.