Add internet connection check to todo list