replace deprecated RectanglePushButton button