added error message if title of task is blank