Fix reopen status when new task was added