adding, removing a layer correctly manages the print button if is private