Changed "Flag" to "Type" in Location, Community, Member details pages

So when flag=true that means task, and alert otherwise