add edit function to edit a task in the default editor that is linked to vi