Menu doesn't NullPointer when database fails, and displays an error