Added error handling in library name!

User get informed if nothing is in the field