6-year-old boy who diagnosed with cancer for the third time sworn in as officer