Make sure the checkbox is updated after a refesh