Removed check for empty todo, because not working properly.