Made buttons call a function when pressed as a Librarian