Use checked property instead of attribute