SWC-1621: fix make public/private button