Extension popup is not closed after adding the task