Added button resizing.