Redirect user to main todos page after editing