Dehnen halo effect on a black hole in an ultra-faint dwarf galaxy