solved the bug where i couldn't add a task immediately after deleting it