Fixed null Pointer exception in DetailBookWindow newBook