Removing typo.
Added success message to table sorting function.
Do not try to send a notification for an unhandled task change (ie: no need to email just because someone changed task from "new" to "in progress").