Changed PDF-buttons, added possibility to hide buttons