You need to change the tank water at least once a week, and you should leave the tank light on about 12-14 hours a day, more then that, and you can get algae problems.

Do not get a chinese algae eater, one betta is the only suitable fish for that tank.

With frequent water changes and a glass scraper the algae should disappear!