clicking only with brakes is usually a brake issue, could be a pad moving, or the friction material has come free of the backing (common with lower cost pads and they will seem to stop fine until that piece disintegrates and you have nothing) pull the brakes and look at everything, you should be able to feel any play in the bearing also