edit task page
add flash notices