move row_changed, disconnect_library, add_library to gui/library.py