You can determine the cause of cloudy glassware by soaking a glass in vinegar for 5 minutes. If the cloudiness is removed it is due to hard water deposits; make sure the salt reservoir is topped up. Do not worry about over-filling it. If the cloudiness is not removed, it is a permanent condition known as etching. In this situation, use less detergent and stop pre-washing. Dishwashing detergent needs a bit of soil to work on, otherwise it will tend to foam up.