Few things to mention: first, mint prefers to be outdoors, but can be grown inside, second, the link you provided to show which mint you chose only leads to what looks like an internet service for a supermarket, not showing mint at all. From that, I'm deducing you may have bought a pot of mint from the supermarket, because most of them sell mint in the herb section. If you did, I'm wondering how bushy it was when you first got it - has it died back in lots of places so that now all you've got is one main stem?
Third question - that pot its in, does it have a hole in the bottom for drainage? If it hasn't, then you need to get a pot which has holes in it. If it does have holes, when you water the plant, do you leave water sitting in the tray at the bottom? If you do, that tray must be emptied out 30 minutes after watering, so that the bottom of the pot is not sitting in water.
The insects you see flying around the plant may be fungus gnats - these like damp soil conditions, so they're an indication that your plant may be sitting in soil that's far too wet - and that might be because the plant sits in water at times.
I suggest you turn it out of the pot and see if there's a problem at the root (insects, grubs, anything like that) and to see how much root material is actually present - it may be some of the roots have rotted back and you now need a smaller pot to assist in the plant's recovery. If it does need a smaller pot, use one with holes and use fresh potting soil, water straight away, then empty away any excess, allowing the plant to drain properly. If it doesn't need a smaller pot because there's plenty of root material, then replace in the existing pot IF it has a drainage hole, (though I would recommend using fresh potting soil), remove the sticks you have supporting the topgrowth, and cut that back by half. Cut back also if you are putting it into a smaller pot. Ongoing, water when the surface of the potting soil feels dry to the touch, then water thoroughly, allowing the plant to drain down and again, tipping away any excess water in the tray. If you can only keep the plant indoors, then as much light as possible, especially sunlight, and don't keep it near a heat source such as a radiator or hot air vent.