Factor out the hardcoded values into rectangle width and height. Fixed the linear gradient color stops.
Change fluid color based on fluid density.
Added the fill button which fills up the water tank when clicked
Replace "Fill" with fillString
Margin for the fill button text. Reposition the faucet.