Most likely the inlet valve on the machine is letting a small amount of water in. Shut the water supply off and you should find it stops seeping in, then change the inlet valve on the machine. The brown part of the water softener is the crystals and that is the colour of them leave alone.