Set attribute checked