You can be profitable and still choose to take on funding for a variety of reasons. Although these may not be the reasons the startup in question above chose to, a few that comes to mind includes:
1. Investors can and should be considered an extension of your own team. The right investors can greatly add value outside of financial needs and greatly help in a variety of areas.
2. While you might be profitable, an infusion of cash can help you grow faster and the investors can help you grow properly so you don't end up growing prematurely. Plenty of entrepreneurs who have previous successful exit and capital to float their own companies, and companies who are profitable, still choose to raise funding.
3. To help validate their company to potential employees and ensure there is valuation provided for the stock issued. I know some people refuse to join a startup if its not backed even if the company is profitable.
That said, profitable is subjective. Is it a lot, a little, ramen level? The above are not the only reasons but just some that comes to my mind right now.