Im not sure what the plastic tubes are that you describe, sorry.
Certainly if there was a blockage in one of them, flushing them out, may have resolved the problem.
As far as the solenoid is concerned, it is quite normal for this to be loose on its mounting. This doesnt affect the way in which it opens the valve and allows the water to enter the machine.
Something worth looking at is the pressure switch . Please click here
This is located under the wash chamber, remove the lower kick panel.
There is a thin tube attached to the switch. Remove t from the switch and blow hard down the tube to clear any obstruction. This is what detects the water level
Please ask if you need more help.
If you are happy, plea dont forget to rate