adjust print button show/hide