replace deprecated TextPushButton button