Fixed checkbox click event for todos