create add button function for libs