updated library button and disables print button