Added check for book title field and styled table