styling library button when changed