Fitbit flex or polar?

I need something that helps me track my calories that I burn and I don't know which one to get. I know the polar only tracks your heart rate during exercise and fitbit tracks your whole day which both work for me. I do a lot of running/walking/elliptical and occasional swimming. Which one would be better and works better?

If polar is better, which polar would you recommend? :)