Created various functions for the coupled tanks UI