Moved flag icon to template; moved location of flag in profile