Make sure all bubbles are in the right tube by sorting the bubbles based on their colors.
Use the left mouse button to select the bubbles and the tubes you want to move them into.