flash message for todo completed shows properly