Fixed a bug where adding task did not show up in completer in main window.