Man sentenced to decade in prison after setting fire to courthouse’s flags and convenience store