Bug fixed for editing Tasks.