Fixing Bug in todo.aspx.cs
Really fixed error handling