A Florida man investigators say posted anti-Islamic material online has been charged with setting a fire at the mosque attended by the man accused of killing 49 people at a gay nightclub in Orlando.