Added "empty check" in diary

Added "empty check" in diary. Displays a toast with a complaint if
either title or body is empty.